/* 遮罩层 */
.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    /* 提升层级，确保在tab栏和签到组件之上 */


    /* 全局容器 */
    .view-container {
        position: relative;
        width: 86%;
        height: 73vh;
        padding: 30rpx;
        background-color: #fff;
        border-radius: 35rpx;
        display: flex;
        flex-direction: column;
        overflow: hidden;


        /* 原有样式保持不变 */
        /* 顶部标题栏 */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0rpx;
            padding: 30rpx 0rpx;
            height: 0;
        }

        .header-left {
            width: 527rpx;
        }

        .header-title {
            font-size: 32rpx;
            font-weight: bold;
        }

        .cancel-btn {
            font-family: Source Han Sans CN;

            font-weight: 500;
            font-size: 22rpx;
            color: #888B9A;
            padding: 10rpx;
            min-height: auto;
            line-height: 20rpx;
            width: 112rpx;
            height: 42rpx;
            background: #EEF2F3;
            border-radius: 10rpx;


        }

        /* 用户信息区域 */
        .user-info {
            display: flex;
            align-items: center;
            margin-bottom: 20rpx;
            margin-top: 30rpx;
        }

        .avatar {
            width: 85rpx;
            height: 85rpx;
            border-radius: 50%;
            margin-right: 20rpx;

        }

        .user-detail {
            flex: 1;
        }

        .user-name-row {
            display: flex;
            align-items: center;
            margin-bottom: 10rpx;
            width: 100%;
        }

        .user-name {
            font-size: 32rpx;
            font-weight: bold;
            margin-right: 10rpx;
            max-width: 300rpx;
            /* 限制用户名最大宽度 */
            overflow: hidden;
            /* 超出部分隐藏 */
            text-overflow: ellipsis;
            /* 显示省略号 */
            white-space: nowrap;
            /* 不换行 */
        }

        .real-name-tag {
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: Source Han Sans CN;
            font-weight: 400;
            font-size: 22rpx;
            color: #40B805;
            background: #EAFFE0;
            border-radius: 6rpx;
        }

        .match-rate {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-left: auto;
            /* 自动 margin 推到最右侧 */

            .match-rate-num {
                font-family: Impact;
                font-weight: 400;
                font-size: 46rpx;
                color: #F71737;
                font-weight: bold;
            }

            .match-rate-text {
                font-family: Source Han Sans CN;
                font-weight: 400;
                font-size: 22rpx;
                color: #888B9A;
            }
        }

        .user-basic {
            font-size: 28rpx;
            color: #666;
        }

        /* 标签行（信誉、好评率） */
        .tags-row {
            display: flex;
            align-items: center;
            margin-bottom: 30rpx;

            .tag-reputation,
            .tag-rating {
                display: flex;
                align-items: center;
                padding: 10rpx 16rpx;
                border-radius: 26rpx;
                font-family: Source Han Sans CN;
                font-weight: 500;
                font-size: 26rpx;

                // 分别给不同标签设置背景色，模拟示例效果
                &.tag-reputation {
                    background: rgba(247, 111, 23, 0.1);
                    margin-right: 15rpx;

                    .tag-icon {
                        position: relative;
                        margin-right: 12rpx;

                        image {
                            display: block;
                        }

                        .tag-badge {
                            position: absolute;
                            top: 50%;
                            left: calc(50% - 2rpx);
                            transform: translate(-50%, -50%);
                            font-family: Source Han Sans CN;
                            font-weight: 500;
                            font-size: 22rpx;
                            color: #FFFFFF;
                            text-shadow: 0rpx 1rpx 3rpx rgba(241, 106, 12, 0.67);
                            z-index: 1;
                        }
                    }

                    text {
                        color: #F76F17;
                    }
                }

                &.tag-rating {
                    background: rgba(88, 148, 246, 0.1);

                    text {
                        color: #5894F6;
                    }

                    .tag-icon2 {
                        padding: 6rpx 12rpx;
                        background: linear-gradient(100deg, #77ABFF 0%, #4789F3 100%);
                        border-radius: 26rpx;
                        display: flex;
                        justify-content: center;
                        align-items: center;

                        text {

                            font-family: Source Han Sans CN;
                            font-weight: 500;
                            font-size: 22rpx;
                            color: #FFFFFF;
                            text-shadow: 0rpx 1rpx 3rpx rgba(33, 106, 226, 0.67);
                        }

                        margin-right: 12rpx;
                    }


                }

                &.tag-verify {
                    background: rgba(14, 28, 55, 0.1);

                    .tag-icon3 {
                        display: flex;
                        align-items: center;
                    }

                    text {
                        color: #888B9A;
                        margin-left: 12rpx;
                    }

                    &.verified {
                        background: rgba(76, 231, 0, 0.1);

                        text {
                            color: #38AB00;
                        }
                    }
                }
            }
        }




        .yellow-tag {
            background-color: #f1c40f;
            color: #fff;
        }

        /* 通用区块（自我描述、技能等） */
        .section {
            margin-bottom: 20rpx;

            .section1-title {

                font-size: 28rpx;
                color: #333;
                padding-bottom: 20rpx;
                display: block;

                .section1-content {
                    font-size: 28rpx;
                    color: #666;
                }
            }
        }

        .section-title {
            font-family: Source Han Sans CN;
            font-weight: 400;
            font-size: 26rpx;
            color: #0E1C37;
            // margin-bottom: 10rpx;
            display: block;
        }

        .section-content {
            font-family: Source Han Sans CN;
            font-weight: 400;
            font-size: 26rpx;
            color: #0E1C37;
            line-height: 1.5;
            word-break: break-all; // 添加自动换行属性
        }

        /* 图片滚动区域 */
        .img-scroll {
            white-space: nowrap;
            width: 100%;
        }

        .img-list {
            display: inline-flex;
            padding: 10rpx 0;
        }

        .img-item {
            width: 96rpx;
            height: 96rpx;
            margin-right: 10rpx;
            border-radius: 20rpx;
            position: relative;

            &.single-img {
                width: 200rpx;
                height: 200rpx;
            }
        }

        /* 视频容器样式 */
        .video-container {
            position: relative;
            display: inline-block;

            .dynamic-video {
                width: 100%;
                height: 100%;
                border-radius: 20rpx;
            }

            .video-play-btn {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 60rpx;
                height: 76rpx;
                z-index: 2;
            }

            .video-duration {
                position: absolute;
                bottom: 10rpx;
                left: 10rpx;
                background: rgba(0, 0, 0, 0.6);
                color: white;
                font-size: 20rpx;
                padding: 4rpx 8rpx;
                border-radius: 10rpx;
                z-index: 2;
            }
        }

        /* 相册区域背景 */
        .img-section {
            background: #EEF2F3;
            border-radius: 10rpx;
            /* 浅灰色背景 */
            padding: 20rpx;
        }


        /* 技能滚动容器：固定高度 + 超出滚动 */
        .skills-scroll {
            width: 100%;

        }

        /* 技能标签行：自动换行 */
        .skills-row {

            display: flex;
            flex-wrap: wrap;
            padding-top: 30rpx;

        }

        /* 技能标签（原有样式保留） */
        .skill-tag {
            display: flex;
            justify-content: center;
            align-items: center;
            background: #888B9A;
            border-radius: 21rpx;
            padding: 10rpx;
            margin-right: 20rpx;
            margin-bottom: 10rpx;
        }

        .skill-text {
            font-family: Source Han Sans CN;
            font-weight: 400;
            font-size: 22rpx;
            color: #FFFFFF;
        }

        // .footer {
        //     position: absolute;
        //     /* 保持绝对定位 */
        //     bottom: 0;
        //     left: 0;
        //     width: 100%;
        //     background-color: #fff;
        //     padding: 20rpx;
        //     box-sizing: border-box;
        //     // box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.1);
        //     /* 添加顶部阴影区分内容 */
        //     z-index: 10;
        //     /* 确保在内容上方 */
        // }
        .footer {
            height: 170rpx;
        }

        /* 选择提示 */
        .select-tip {
            position: absolute;
            bottom: 150rpx;
            left: calc(50% - 120rpx);
            text-align: center;
            font-size: 24rpx;
            color: #999;
            // margin-bottom: 20rpx;

        }

        /* 底部按钮行 */
        .content-wrapper {
            flex: 1;
            overflow-y: auto;
            padding-bottom: 40rpx;
            /* 为底部按钮留出空间 */
        }

        .btn-row {
            position: absolute;
            bottom: 40rpx;
            left: 30rpx;
            right: 30rpx;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .btn1 {

            line-height: 80rpx;
            border-radius: 12rpx;
            // margin: 0 10rpx;
            // gap: 10rpx;
        }

        /* 主职工作区域背景 */
        .job-section {

            background: #EEF2F3;
            border-radius: 10rpx;
            /* 浅灰色背景 */
            padding: 20rpx;

        }

        .next-btn {
            width: 99rpx;
            height: 85rpx;
            font-family: Source Han Sans CN;
            font-weight: 500;
            font-size: 32rpx;
            color: #0E1C37;
            background: #E9FEDF;
            border-radius: 12rpx;
            border: 2rpx solid #BEFF32;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-right: 20rpx;
        }

        .prev-btn {
            font-family: Source Han Sans CN;
            font-weight: 500;
            font-size: 32rpx;
            color: #0E1C37;
            width: 246rpx;
            height: 85rpx;
            background: #E0F2FF;
            border-radius: 12rpx;
            border: 2px solid transparent;
        }

        .select-btn {
            flex: 3;
            width: 409rpx;
            height: 83rpx;
            font-family: Source Han Sans CN;
            font-weight: 500;
            font-size: 32rpx;
            color: #0E1C37;
            background: #BEFF32;
            border-radius: 12rpx;
        }

        /* 技能标签选中样式 */
        // .skill-tag.selected {
        //     background-color: #FF9500;
        // }

        // .skill-tag.selected .skill-text {
        //     color: #FFFFFF;
        // }

        /* 已选择按钮样式 */
        .btn.select-btn.selected {
            background-color: #888B9A;
        }
    }

}